package com.wzx.user.pojo.shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/2/16 - 18:27
 * @description 标题
 */
@Data
@TableName("t_type")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Type", description = "分类表")
public class Type {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer id;

    @TableField("typeName")
    @ApiModelProperty(value = "分类名称")
    private String typeName;
}
